/*******************************************************************
 *
 * @Version : 0.5 
 *
 * SceneMessageProcessor.java 
 *
 * 2011-10-13 下午05:05:16
 *
 *******************************************************************/
package game.breeze.message.processor;

import game.breeze.Breeze;
import game.breeze.message.IMessageProcessor;
import game.breeze.message.WorldMessageCode;
import game.breeze.socket.util.ByteBuffer;

/**
 * Class desc there
 * 
 * @author yangwei ywengineer@gmail.com
 * 
 */
public class WorldMessageProcessor implements IMessageProcessor {
	private static final WorldMessageProcessor instance = new WorldMessageProcessor();

	private WorldMessageProcessor() {

	}

	public static final WorldMessageProcessor getInstance() {
		return instance;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * game.breeze.message.IMessageProcessor#proccessMessage(game.breeze.Breeze,
	 * game.breeze.socket.util.ByteBuffer)
	 */
	@Override
	public void proccessMessage(Breeze game, ByteBuffer buffer) {
		int type = buffer.readInt();
		if (type == WorldMessageCode.MSG_WORLD_MOVE) {
			
		}
	}
}
